home *** CD-ROM | disk | FTP | other *** search
/ CSi Master: Ableton Live 5 / CSi Master: Ableton Live 5.iso / pc / rsrc / locrsrc / controller.dir / Internal_47_Index Button.ls < prev    next >
Encoding:
Text File  |  2004-12-29  |  471 b   |  22 lines

  1. on mouseDown
  2.   vorigMember = the member of sprite the clickOn
  3.   set the member of sprite the clickOn to member("index dn")
  4.   updateStage()
  5.   repeat while the stillDown
  6.     nothing()
  7.   end repeat
  8.   set the member of sprite the clickOn to vorigMember
  9.   updateStage()
  10.   openIndexWindow()
  11. end
  12.  
  13. on mouseEnter
  14.   set the member of sprite 23 to member("index prompt")
  15.   updateStage()
  16. end
  17.  
  18. on mouseLeave
  19.   set the member of sprite 23 to member("blank prompt")
  20.   updateStage()
  21. end
  22.